package main

import (
	"fmt"
	"gitee.com/konica/udptest"
	"os"
)

var (
	listenAddr string
)

func init() {
	if len(os.Args) <= 1 {
		fmt.Println("listen addr is missing, using :10086")
		listenAddr = ":10086"
	}
}

func main() {
	udptest.NewServer(listenAddr)
}
